Update 01_pause_basic test for new console behavior.
authordan@guaranine.beaverton.ibm.com <dan@guaranine.beaverton.ibm.com>
Thu, 17 Nov 2005 10:58:36 +0000 (11:58 +0100)
committerdan@guaranine.beaverton.ibm.com <dan@guaranine.beaverton.ibm.com>
Thu, 17 Nov 2005 10:58:36 +0000 (11:58 +0100)
tools/xm-test/tests/pause/01_pause_basic_pos.py

index 9d8046411e172b8382a7f3ac4e22fa36dcab6887..58306ae1a8a307926520373694ffaa321216404e 100644 (file)
@@ -49,12 +49,9 @@ status, output = traceCommand("xm pause %s" % domain.getName())
 if status != 0:
        FAIL("xm pause returned invalid %i != 0", status)
 
-# Attach a console to it
+# Try to attach a console to it
 try:
     console = XmConsole(domain.getName(), historySaveCmds=True)
-except ConsoleError, e:
-    FAIL(str(e))
-try:
     run = console.runCmd("ls")
     #If we get here, console attached to paused domain (unexpected)
     FAIL("console attached to supposedly paused domain")